package com.alit.face.koala.projectvariable;

import com.litong.utils.projectvariable.PVU;

/**
 * 初始化工程变量
 *
 * @author litong
 * @version 1.0
 * @date 2019年2月11日_下午12:37:56
 */
public class ProjectVariableInit {

  /**
   * 初始化工程变量, 初始化值不需要保存到文件,初始化完成后会自动保存
   */
  public static void initValue() {
    PVU.add(PVK.apolloServer, "apollo server", "tcp://192.168.99.214", true, false);
    PVU.add(PVK.apolloPort, "apollo port", "61613", true, false);
    PVU.add(PVK.apolloUsername, "apollo username", "admin", true, false);
    PVU.add(PVK.apolloPassword, "apollo password", "password", true, false);
    PVU.add(PVK.koalaDefaultUsername, "koala绑定用户名", "admin@qq.com", false, false);
    PVU.add(PVK.koalaDefaultPassword, "koala绑定密码", "123456", false, false);
    // 打招呼设置
    PVU.add(PVK.projectGreeting, "打招呼设置", "你好${name},欢迎向我咨询业务", false, false);
    PVU.add(PVK.koalaRecognizeInterval, "人脸识别间隔", "30", false, false);
    PVU.add(PVK.koalaStrangerSayHello, "陌生人打招呼", "true", false, false);
    PVU.add(PVK.koalaStrangerSayString, "陌生又打招呼语句", " 你好,欢迎向我咨询业务", false, false);
    PVU.add(PVK.baiduFaceAid, "api id", "17354751", false, false);
    PVU.add(PVK.baiduFaceAk, "api key", "BhMsmXMmR3Cr1ix71kKv3GK7", false, false);
    PVU.add(PVK.baiduFaceAs, "api secret", "elp3Z0MTiwIkh8gLAnG8EY7l4Q6fjfyk", false, false);
    PVU.add(PVK.baiduFaceStrangerGroupId, "陌生人组id", "1", false, false);
    PVU.add(PVK.baiduFaceFamiliarGroupId, "手动添加的用户的组id", "2", false, false);
    PVU.add(PVK.baiduFaceGroups, "groups", "1,2", false, false);
    PVU.add(PVK.enableFaceKoala, "上传陌生人图片到koala", "false", false, false);
    PVU.add(PVK.projectUploadDirName, "保存图片的文件夹名称", "upload", false, false);
    PVU.add(PVK.baiduFaceMatchSimilarity, "百度人脸比对相似度:", "70", false, false);
  }
}